FUNCTION

integer.hex

pure function hex(): text

Deprecated (for removal): Use 'to_hex' instead

Convert this integer to hexadecimal text.

Does not include a base prefix in the output, i.e. integer(25).to_hex() returns 19 rather than 0x19.

Since

0.6.0

Alias of integer.to_hex

© 2026 Chromia